/*
 * @Descripttion: 
 * @version: 
 * @Author: lihk
 * @Date: 2024-01-31 10:44:13
 * @LastEditors: lihk
 * @LastEditTime: 2024-02-21 11:42:40
 */
const express = require('express');
const userService = require('../services/user');

const router = express.Router();
// 用户注册
router.post('/register', userService.register);
// 用户登录
router.post('/login', userService.login);
// 修改密码
router.post('/changePassword', userService.changePassword);


module.exports = router;